package utils;

import bean.TreeNode;

public class init_erchashu {
    public TreeNode init(){
        TreeNode t=new TreeNode(1);
        TreeNode t1=new TreeNode(2);
        TreeNode t2=new TreeNode(3);
        TreeNode t3=new TreeNode(4);
        TreeNode t4=new TreeNode(5);
        TreeNode t5=new TreeNode(6);
        TreeNode t6=new TreeNode(7);
        t.left=t1;
        t.right=t2;
        t1.left=t3;
        t1.right=t4;
        t2.right=t5;
        t4.left=t6;
        return t;
    }
}
